import request from '@/utils/request'

export function getAppAuthClientList() {
  return request({
    url: '/api/data/v1/app/list?filter=authClient',
    method: 'get',
    headers: {
      token: '22515d092171424e8c7e9fb95171b123'
    }
  })
}

export function getAuthControlList(responded, pageIndex, pageSize) {
  return request({
    url: '/api/data/v1/auth-record/list?',
    params: {
      control_cmd: 'dataModifyAuthorize',
      responded: responded,
      pageIndex: pageIndex,
      pageSize: pageSize
    },
    method: 'get',
    headers: {
      token: '22515d092171424e8c7e9fb95171b123'
    }
  })
}
